﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Newtonsoft.Json;
using RMM.Core.Entity.Users;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace RMM.UserAdminService.Dtos
{
    [AutoMap(typeof(User))]
    public class AdminUserDto : EntityDto<long>
    {
        public long UserId { get => base.Id; }

        /// <summary>
        /// 用户头像
        /// </summary>
        public string UserHead { get; set; }

        public string Address { get; set; }

        public string UserName { get; set; }

        public string Mobile { get; set; }

        /// <summary>
        /// 推荐人id
        /// </summary>
        public long ReferralUserId { get; set; }

        /// <summary>
        /// 用户状态(正常:1 已删除:7)
        /// </summary>
        public int Status { get; set; }

        public string Remark { get; set; }

        /// <summary>
        /// 身份证
        /// </summary>
        public string CardID { get; set; }

        public string Email { get; set; }

        public string RealName { get; set; }

        /// <summary>
        /// 如果是计师，表示店家id
        /// </summary>
        public long ShopId { get; set; }

    }
}
